<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>zhixue</title>
    <!-- <link rel="stylesheet" href="./src/assets/iconfont/iconfont.css">字体图标不能引入 -->
    <script>
      (function (doc, win) {
        var docEl = doc.documentElement,
          resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
          recalc = function () {
            var clientWidth = docEl.clientWidth;
            if (!clientWidth) return;
            //适配视口最大值'1080'根据具体情况设定
            if (clientWidth >= 1080) {
              docEl.style.fontSize = '100px';
            } else {
              docEl.style.fontSize = 75 * (clientWidth / 750) + 'px';
            }
          };
  
        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
      })(document, window);
    </script>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    
  </body>
  
</html>
